﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            AYA.Core.Cache.CacheManager.Current.Add("a", 1, 1, 1, "c:\\a1.txt");
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            object o = AYA.Core.Cache.CacheManager.Current.Get("a");
            if (o != null)
            {
                o = 8;
            }
        }
    }
}
